import redis
# client = redis.Redis
client = redis.Redis()
client.set('username', 'admin')
client.hset('student', 'name', 'hao')
client.hset('student', 'age', 38)
client.keys('*')
client.hgetall('student')
client.get('username')

